package com.ruoyi.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单对象 order
 * 
 * @author ruoyi
 * @date 2022-07-06
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long rank;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long peoplenum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date estimatedtime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date ordertime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date paymenttime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paymentmethod;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal subtotal;

    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setRank(Long rank) 
    {
        this.rank = rank;
    }

    public Long getRank() 
    {
        return rank;
    }
    public void setPeoplenum(Long peoplenum) 
    {
        this.peoplenum = peoplenum;
    }

    public Long getPeoplenum() 
    {
        return peoplenum;
    }
    public void setEstimatedtime(Date estimatedtime) 
    {
        this.estimatedtime = estimatedtime;
    }

    public Date getEstimatedtime() 
    {
        return estimatedtime;
    }
    public void setOrdertime(Date ordertime) 
    {
        this.ordertime = ordertime;
    }

    public Date getOrdertime() 
    {
        return ordertime;
    }
    public void setPaymenttime(Date paymenttime) 
    {
        this.paymenttime = paymenttime;
    }

    public Date getPaymenttime() 
    {
        return paymenttime;
    }
    public void setPaymentmethod(String paymentmethod) 
    {
        this.paymentmethod = paymentmethod;
    }

    public String getPaymentmethod() 
    {
        return paymentmethod;
    }
    public void setSubtotal(BigDecimal subtotal) 
    {
        this.subtotal = subtotal;
    }

    public BigDecimal getSubtotal() 
    {
        return subtotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderid", getOrderid())
            .append("userid", getUserid())
            .append("rank", getRank())
            .append("peoplenum", getPeoplenum())
            .append("estimatedtime", getEstimatedtime())
            .append("ordertime", getOrdertime())
            .append("paymenttime", getPaymenttime())
            .append("paymentmethod", getPaymentmethod())
            .append("subtotal", getSubtotal())
            .toString();
    }
}
